export default ({
    namespaced: true,
    state: {
        // 用来表示登录的登录状态
        isLogined:localStorage.getItem('x-auth-token') ? true : false 
    },
    mutations: {
        changeIsLoinged(state, payload) {
            state.isLogined = payload
        }
    }
})